package com.base.common.model.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author yuzhongbo
 * @date 2020/5/14 AM10:20
 */
@ApiModel(value = "UserInfo", description = "用户信息")
@Data
public class UserInfo implements Serializable {
    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "登录账号")
    private String loginCode;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "角色json")
    private String roles;

    @ApiModelProperty(value = "所属系统")
    private String btSystem;

    @ApiModelProperty(value = "所属用户")
    private String btUser;

    @ApiModelProperty(value = "账号id")
    private String accountId;

    @ApiModelProperty(value = "所属id")
    private String belongId;

    @ApiModelProperty(value = "所属name")
    private String belongName;


    @ApiModelProperty(value = "数据权限")
    private String dataPermission = "0";
}
